
# -*- coding: utf-8 -*-

from controllers.BaseController import BaseController

class IndexController(BaseController):
	def get(self):
		try:
			userid = int(self.get_secure_cookie('userid'))
			if userid > 0:
				self.redirect("/markings")
				return
		except:
			pass
		self.render("index.html", userid=0)
